<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<div class="pageContent">
<form method="post" action="/cmsback/management/article/editSave?navTabId=${naveTabId}&callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone);">
<input id="hideCode" type="hidden" name="code" value='${article.code}'></input>
<input id="hideState" type="hidden" name="state" value='${article.state}'></input>
<input id="addArticle_hidechannelIds"  type="hidden"  name="channelids" type="text"  />
<div class="pageFormContent" layoutH="57">
	<fieldset>
		<legend>频道管理</legend>
		<dl>
			<dt>所属频道：</dt>
			<dd><input name="test.names" type="text" readonly value="${channelIdsCN}"/>
				<input type="hidden" id="dlg_channelids"  value="test.ids" type="text" />
				<a class="btnLook"  href="/cmsback/management/article/channelIdsSelect/${channelIds}" lookupGroup="test" rel="dlg_channelTree">所属频道</a>	
			</dd>
		</dl>
	</fieldset>
	<fieldset>
		<legend>稿件详情</legend>
		<dl >
			<dt>标题：</dt>
			<dd><input name="title"  type="text" class="required" value=${article.title}></dd>
		</dl>
		<dl>
			<dt>作者：</dt>
			<dd><select class="combox" name="authorId" type="text">${authors}</select></dd>
		</dl>
		<dl >
			<dt>来源：</dt>
			<dd><input name="source"  type="text"  class="required" value=${article.source}></dd>
		</dl>
		<dl >
			<dt>原始时间：</dt>
			<dd><fmt:formatDate  value='${article.orgtime}' pattern='yyyy-MM-dd HH:mm'/><input class="date" name="orgtime" type="text" value=${article.orgtime}></dd>
		</dl>
		<dl>
			<dt>跳转页面：</dt>
			<dd>
				<select class="combox" name="authorId" type="text"><option>无</option>
					<option value="http://www.jseea.cn/highschool.html">普通高校招生</option>
					<option value="http://www.jseea.cn/graduateenrollment.html">研究生招生</option>
					<option value="http://www.jseea.cn/adulthighschool.html">成人高校招生</option>
					<option value="http://www.jseea.cn/selflearning.html">自学考试</option>
					<option value="http://www.jseea.cn/seniorhighschoollevel.html">高中学业水平测试</option>
					<option value="http://www.jseea.cn/certificateexamination.html">证书考试</option></select>
			</dd>
		</dl>
		<dl >
			<dt>关联页面：</dt>
			<dd><input name="rootpath" type="text" value=${article.rootpath} ></dd>
		</dl>
		<dl class="nowrap">
			<dt>摘要：</dt>
			<dd><textarea name="brief" cols="85" rows="2" value=${article.brief}></textarea></dd>
		</dl>
	</fieldset>
	<fieldset>
		<legend>稿件内容</legend>
		<div>
			 <textarea class="editor" name="content" rows="10" cols="100" session="{:C('VAR_SESSION_ID')}={:session_id()}" upLink="__GROUP__/ueditor/" module="{:MODULE_NAME}">${article.content}</textarea>
			
		</div>
	</fieldset>
</div>	
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
		</ul>
	</div>
	
</form>
</div>

<script type="text/javascript">
$(document).ready(function() {
	var channelIds=$('#dlg_channelids').val();
	document.getElementById("addArticle_hidechannelIds").setAttribute("value",channelIds);	
});

</script>